package com.dcdata.haixin.enums;

public enum DataType {
    /**
     * UNIT32 4 bytes
     */
    UINT32(4),

    /**
     * UNIT16 2 bytes
     */
    UNIT16(2),

    /**
     * BYTE 1 byte
     */
    BYTE(1),

    /**
     * n n<256
     */
    COMPOSITE(-1),

    /**
     *m m<65536
     */
    BIGBUF(-1),

    TIME(7),

    SEQUENCE(-1),

    GPSSET(23);

    public int length;

    DataType(int length) {
        this.length = length;
    }

}
